<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>


<!-- saved from url=(0045)https://yx.ibikang.com/views/kucun/yaopin.jsp -->
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<link href="../static/css/kucun.css" rel="stylesheet" type="text/css">	
<link href="../static/css/button.css" rel="stylesheet" type="text/css">	
<link href="../static/css/input.css" rel="stylesheet" type="text/css">					
</head><body><div class="container-fluid">
	  <div class="row-fluid clearfix">
        <div class="span12">
            <form class="form-inline clearfix" role="form">
                <fieldset>
                    <legend class="clearfix main-box">
                    	<div class="crumbs-title">
		                    <span><b></b>药品库存</span>
		                </div>
                        <div class="float-two">
	                        <ul>
	                        	<li>
	                        		<span class="label">药品名：</span>
	                        		<div class="form-group pull-left le-inline col-xs-3 col-sm-3 col-md-3 col-lg-3 input-box" style="border:none;">
		                                <input type="text" class="input-sm in-xm" placeholder="请输入药品名称" id="ypjl-mingcheng">
		                        	</div>
	                        	</li>
	                        	<li>
	                        		<div class="form-group pull-left le-inline col-xs-2 col-sm-2 col-md-2  col-lg-2 fenlei-two">
		                            	<span class="label">分类：</span>
		                                <div class="btn-group menu-up dropdown-search-li">
		                                		<input type="hidden" id="yp-leibie" value="0">
										    	<div class="btn dropdown-toggle btn-sm u-button-select select-menu" data-toggle="dropdown" tabindex="0" id="f-le-fenlei">全部</div>
											   	<ul class="dropdown-menu li-width" id="leixing" role="menu">
											   	  <li value="0">全部</li>
											      <li value="1">饮片</li>
											      <li value="2">中成药</li>
											      <li value="3">化学制药</li>
											      <li value="4">生物制药</li>
											      <li value="5">其他</li>
											   	</ul>
										 	</div>
										</div>
	                        	</li>
	                        	<li>
	                        		<div class="form-group pull-left le-inline col-xs-2 col-sm-2 col-md-2  col-lg-2 zhuangt-two">
			                        	<span class="label">状态：</span>
			                       		<div class="btn-group menu-up dropdown-search-li">
			                       			<input type="hidden" id="yp-zhuangt" value="0">
											<div class="btn dropdown-toggle btn-sm u-button-select select-menu" data-toggle="dropdown" tabindex="0" id="f-le-zhuangtai">
											启用	
											</div>
										   	<ul class="dropdown-menu li-width" role="menu" id="ul-ypzhuangtai">
										   		<li value="2">全部</li>
										        <li value="0">启用</li>
										    	<li value="1">禁用</li>
										  	</ul>
										 </div>
			                        </div>
	                        	</li>
	                        <li>
	                        		<div class="form-group pull-right le-btn-inline col-xs-5 col-sm-5 col-md-5 col-lg-4 button-box">
			                            <span class="btn search button" id="chaxun">查询</span>
			                            <div class="btn b-rest button button1" id="le-reset">重置</div>
			                            <span class="btn add button button-add" id="le-add">新建</span>
			                        </div>
	                        	</li>
	                        </ul>
	                    </div>
                    </legend>
                </fieldset>
            </form>
        </div>
    </div>
    <div id="yp-img"></div>
     <div class="row-fluid tb-background c-height table-list" id="a-table-list">
        <div class="span12 table-title">
            <div class="tab-header">
            	<table class="table table-center tab-title">
                  <tbody><tr>
                      <th class="col-sm-1  col-md-1 col-lg-1" width="7%">序号</th>
                      <th class="col-sm-1  col-md-1 col-lg-1 left" width="19%">药品名</th>
                      <th class="col-sm-1  col-md-1 col-lg-1" width="9%">分类</th>
                      <th class="col-sm-1  col-md-1 col-lg-1" width="11%">规格</th>        
                      <th class="col-sm-1  col-md-1 col-lg-1 left" width="19%">生产厂家</th>        
                      <!-- <th class="col-sm-1  col-md-1 col-lg-1" width="8%">进货价(元)</th> -->
                      <th class="col-sm-1  col-md-1 col-lg-1" width="9%">处方价(元)</th>        
                      <th class="col-sm-1  col-md-1 col-lg-1" width="7%">库存</th>        
                      <th class="col-sm-4  col-md-4 col-lg-3" width="19%">操作</th>                
                      
                  </tr>
            </tbody></table>
            </div>
            <div class="tab-content" style="padding:0; border:none;">
            	<table class="table table-center Tb-list" id="kucunyp"></table>
            	<div id="pagination-fenyyp"></div>
            </div>                        
        </div>
    </div>
</div> 

	<script src="../static/js/yaopin.js"></script>
	<script type="text/javascript">
	var path = '';
	//定位参数
	var dwpageNo = 'null';
	var dwming = 'null';
	var dwleixing = 'null';
	var dwzhuangtai = 'null';
	var dwid = 'null';
		//提示信息接收转码变量
	var premsg = 'null';
	var sjc = 'null';
	var kucunpckg = true;
	getYaopintjcs(kucunpckg);
	var msg=decodeURI(decodeURI(premsg));
	//保存成功信息
	if (msg != null && msg != 'null') {
		notifySuccess(msg,sjc);
	}
	getCanshu(dwid,dwpageNo,dwming,dwleixing,dwzhuangtai);
</script>
	</body></html>